package com.example.iotmanagerment26.domain;

import java.util.Date;

public class Card {
    String id;
    String name;
    Date term;
    String tell;
    String mail;
    String address;
    String grade;

    public Card(String id, String name, Date term, String tell, String mail, String address, String grade) {
        this.id = id;
        this.name = name;
        this.term = term;
        this.tell = tell;
        this.mail = mail;
        this.address = address;
        this.grade = grade;
    }

    public Card() {

    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public Date getTerm() {
        return term;
    }

    public String getTell() {
        return tell;
    }

    public String getMail() {
        return mail;
    }

    public String getAddress() {
        return address;
    }

    public String getGrade() {
        return grade;
    }

    @Override
    public String toString() {
        return "Card{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", term=" + term +
                ", tell='" + tell + '\'' +
                ", mail='" + mail + '\'' +
                ", address='" + address + '\'' +
                ", grade='" + grade + '\'' +
                '}';
    }
}
